package com.ruoyi.common.enums;

/**
 * 用户状态
 *
 * @author ruoyi
 */
public enum OrderStatus
{
    UNPAID("0", "待付款"), SUCCESS("1", "已付款"), CANCEL("2", "已取消"), REFUNDING("3","退款中"),REFUNDED("4","已退款");

    private final String code;
    private final String info;

    OrderStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
